package cn.pengge.springaop.Controller;

import cn.pengge.springaop.annotation.Log;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class CousumerController {


    @PostMapping("/getStr")
    @Log(value = "123")
    public String  getStr (@RequestBody String str){
        return str;
    }


}
